package org.computate.model.dao;

import java.util.List;

import org.computate.model.item.Grave;

import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.Query;

public interface GraveDao extends ComputateDao<Grave> {
	public Grave create();
	public Grave put(Grave item);
	public Grave save(Object itemObject);
	public Grave create(String name);
	public Grave create(String name, String parentField, Long parentId, int getLevels);
	public Grave get(Long id, int getLevels);
	public Grave get(String name, int getLevels);
	public Grave delete(Long id);
	public Grave delete(Grave item);
	public List<Grave> list(int listLevels);
	public List<Grave> list(Query<Grave> query, int listLevels);
	public Objectify ofy();
}
